<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>ajaxError(callback)</title>
<link type="text/css" rel="stylesheet" href="style/style.css" tppabs="http://www.erdangjiade.com/manual/jquery/jquery/style/style.css"  />
</head>
<body id="split">
<div id="content">
  
  <div rel="ajaxError">
    <h2><span>����ֵ:jQuery</span>ajaxError(callback)</h2>
    <h3>����</h3>
    <div class="desc">
      <p>AJAX ���������ʱִ�к���Ajax �¼���</p>
      <div class="longdesc">
        <p>XMLHttpRequest �����������Ϊ����ݸ�ص�����׽���Ĵ������Ϊ���һ������ݡ�</p>
      </div>
    </div>
    <h3>����</h3>
    <div>
      <h4><strong>callback</strong><span>Function</span><em>V1.0</em></h4>
      <p>��ִ�к���
      
      <pre>function (event, XMLHttpRequest, ajaxOptions, thrownError) {
      // thrownError ֻ�е��쳣����ʱ�Żᱻ����
      this; // ����� dom Ԫ��
}</pre>
      </p>
    </div>
    <div class="example">
      <h3>ʾ��</h3>
      <span id="f_ad2"></span>
      <h4>����:</h4>
      <p>AJAX ����ʧ��ʱ��ʾ��Ϣ��</p>
      <h5>jQuery ����:</h5>
      <pre><code>$("#msg").ajaxError(function(event,request, settings){
     $(this).append("&lt;li&gt;����ҳ��:" + settings.url + "&lt;/li&gt;");
});</code></pre>
    </div>
  </div>
</div>
</body>
</html>
<div style="display:none">

<script type="text/javascript">
var _bdhmProtocol = (("https:" == document.location.protocol) ? " https://" : " http://");
document.write(unescape("%3Cscript src='" + _bdhmProtocol + "hm.baidu.com/h.js%3F327b016d332d3a7e4043796cab725707' type='text/javascript'%3E%3C/script%3E"));
</script>
</div>r